<?=$this->render('header.phtml');?>

<? extract($this->getVars(), EXTR_REFS); ?>

<form name="fileupload" id="fileupload" action="/file/upload" method="post" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="3" class="tableedit">
  <tr>
    <th align="right">Folder</th>
    <td></td>
    <td><select name="folder_id">
        <option value="0">—— Root Folder ——</option>
        <?=$menus?>
        </select>
    <font color="red">*</font></td>
  </tr>
  <tr>
    <th width="100" align="right">File</th>
    <td width="5"></td>
    <td><input type="file" name="file" size="25" />
    <font color="red">*</font></td>
  </tr>
  <tr>
    <th align="right">Description</th>
    <td></td>
    <td><input type="text" name="description" size="80" maxlength="250" /></td>
  </tr>
  <tr>
    <th width="100" align="right">&nbsp;</th>
    <td width="5"></td>
    <td><input type="submit" name="save" value="Save" />
      <input type="reset" name="reset" value="Reset" />
      <input type="button" name="cancel" value="Cancel" onclick="history.back();" /></td>
  </tr>
</table>
</form>

<?=$this->render('footer.phtml');?>